package com.meida.module.bus.provider.service;

import com.meida.module.bus.client.entity.BusOrderQuestion;
import com.meida.common.mybatis.base.service.IBaseService;
import io.swagger.models.auth.In;

/**
 * 追问记录表 接口
 *
 * @author flyme
 * @date 2021-08-03
 */
public interface BusOrderQuestionService extends IBaseService<BusOrderQuestion> {
    /**
     * 统计是否有相同内容的追问
     * @param orderId
     * @param askContent
     * @return
     */
    Long countByContent(Long orderId,String askContent);

    /**
     * 统计未回复的追问
     * @param orderId
     * @return
     */
    Long countByReplyIsNull(Long orderId);
}
